package com.chelun.support.clmutifragment;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        SampleFragment fragment = new SampleFragment();
        getSupportFragmentManager().beginTransaction().add(R.id.flContent, fragment).commit();
    }
}